PrevEsc
- There is a user called
scriptmanager wwwuser can run any command asscriptmanager(sudo -l)- Use
sudo -u scriptmanager bash -ito get a shell asscriptmanager /scriptsfolder owned byscriptmanagerhas test.py that writes to a root owned file- Change
test.pyto create a reverse shell from root account